﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Code5Systems.FormMaster
{
	public partial class FormHandler : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			if(Request.HttpMethod == "POST")
			{
				string action = Request.Form["action"];
				switch(action)
				{
					case "dummy":
						break;
					default:
						Response.Status = "Not Found";
						Response.StatusCode = 404;
						break;
				}
			}
			else
			{
				Response.Status = "Not Found";
				Response.StatusCode = 404;
			}
			Response.End();
		}
	}
}